
include $(TOPDIR)/config.mk
LIB = lib$(BOARD).a
OBJS = $(BOARD).o ../common/ar7100_flash.o ../common/generic_spi.o ../common/athrf1_phy.o pb47_pci.o
SOBJS = ../common/lowlevel_init.o

$(LIB): .depend $(OBJS) $(SOBJS)
	$(AR) crv $@ $(OBJS) $(SOBJS)

.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
	$(CC) -M $(CFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@

sinclude .depend
